/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package MODEL.POJO;

/**
 *
 * @author kijoo
 */
public class ChiTietNhapHangPOJO {

    private int idchitietnhaphang;
    private int idnhaphang;
    private String idloaisanpham;
    private int soluongnhap;
    private float gianhap;

    public ChiTietNhapHangPOJO() {
        this.idchitietnhaphang = 0;
        this.idloaisanpham = "";
        this.idnhaphang = 0;
        this.soluongnhap = 0;
        this.gianhap = 0;
    }

    public ChiTietNhapHangPOJO(int idchitietnhaphang, int idnhaphang, String idloaisanpham, int soluongnhap, float gianhap) {
        this.idchitietnhaphang = idchitietnhaphang;
        this.idloaisanpham = idloaisanpham;
        this.idnhaphang = idnhaphang;
        this.soluongnhap = soluongnhap;
        this.gianhap = gianhap;
    }

    public ChiTietNhapHangPOJO(ChiTietNhapHangPOJO ct) {
        this.idchitietnhaphang = ct.idchitietnhaphang;
        this.idloaisanpham = ct.idloaisanpham;
        this.idnhaphang = ct.idnhaphang;
        this.soluongnhap = ct.soluongnhap;
        this.gianhap = ct.gianhap;
    }

    /**
     * @return the idchitietnhaphang
     */
    public int getIdchitietnhaphang() {
        return idchitietnhaphang;
    }

    /**
     * @param idchitietnhaphang the idchitietnhaphang to set
     */
    public void setIdchitietnhaphang(int idchitietnhaphang) {
        this.idchitietnhaphang = idchitietnhaphang;
    }

    /**
     * @return the idnhaphang
     */
    public int getIdnhaphang() {
        return idnhaphang;
    }

    /**
     * @param idnhaphang the idnhaphang to set
     */
    public void setIdnhaphang(int idnhaphang) {
        this.idnhaphang = idnhaphang;
    }

    /**
     * @return the idloaisanpham
     */
    public String getIdloaisanpham() {
        return idloaisanpham;
    }

    /**
     * @param idloaisanpham the idloaisanpham to set
     */
    public void setIdloaisanpham(String idloaisanpham) {
        this.idloaisanpham = idloaisanpham;
    }

    /**
     * @return the soluongnhap
     */
    public int getSoluongnhap() {
        return soluongnhap;
    }

    /**
     * @param soluongnhap the soluongnhap to set
     */
    public void setSoluongnhap(int soluongnhap) {
        this.soluongnhap = soluongnhap;
    }

    /**
     * @return the gianhap
     */
    public float getGianhap() {
        return gianhap;
    }

    /**
     * @param gianhap the gianhap to set
     */
    public void setGianhap(float gianhap) {
        this.gianhap = gianhap;
    }
}
